package com.yl.chainStore.entity.warehouse

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.common.annotation.NoArg

/**
 * @description :技加工详情
 * @author :吴枫
 * @create :2021-06-25 09:31:00
 */
@NoArg
@TableName("technology_processing_detail")
 data class TechnologyProcessingDetail(
        /**
         * id
         */
        @TableId(value = "id", type = IdType.AUTO)
        var id: Long,

        /**
         * 订单详情id
         */
        @TableField("order_detail_id")
        var orderDetailId: Long,

        /**
         * 主表id
         */
        @TableField("process_log_id")
        var processLogId: Long,

        /**
         * 加工物品名称
         */
        @TableField("processing_items")
        var processingItems: String,

        /**
         * 加工物品价格
         */
        @TableField("processing_free")
        var processingFree: Long? = 0,

        /**
         * 订单详情金额
         */
        @TableField(exist = false)
        var money: Long = 0

) {
}
